package cn.edu.qzuie.artist.module.td.controller.admin.region.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.edu.qzuie.artist.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.edu.qzuie.artist.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 地域列表 Request VO")
@Data
public class RegionListReqVO {

    @Schema(description = "地区名称", example = "泉州市")
    private String name;

    @Schema(description = "父id", example = "13")
    private Long parentId;

    @Schema(description = "地区等级", example = "2")
    private Integer level;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}